package com.example.certificate;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableSwagger2  //开启swagger
@SpringBootApplication(scanBasePackages = {"com.example.certificate"},exclude = DruidDataSourceAutoConfigure.class)
@MapperScan(value = {"com.example.certificate.mapper"})
public class CertificateApplication {

    public static void main(String[] args) {
        SpringApplication.run(CertificateApplication.class, args);
    }

}
